#include "stdio.h"
#include "NormalImageMerger.hxx"

void usage(char** argv)
{
	printf("\n %s SourceDir FileSuffix TargetImage\n", argv[0]);
}

int main(int argc, char *argv[])
{
	if (argc != 4)
	{
		usage(argv);
		return 0;
	}

	NormalImageMerger merger;

	merger.setSourceDirectory(argv[1]);
    merger.setTileFileSuffix(argv[2]);
	merger.setDestFileName(argv[3]);

	merger.mergeTileFiles();

    return 0;
}
